﻿using Inovout.Data.Domain;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace KuaJing.Organization.Domain
{
    public interface ICompany
    {
        IEnumerable<IDepartment> Departments { get; }
        IEnumerable<Employee> Employees { get; }
        [DataProperty("名称", DataType.Text, null, true, 2, 50)]
        string Name { get; }
        [DataProperty("昵称", DataType.Text, null, false, 1, 50)]
        string ShortName { get; set; }

    }
}
